﻿using System;
using System.Collections.Generic;

namespace DTcms.Model
{
    /// <summary>
    /// 留言类
    /// </summary>
    [Serializable]
    public partial class msg
    {
        public msg()
        { }
        #region Model
        private int _id;
        private int _site_id = 0;
        private string _title;
        private string _email;
        private string _phone;
        private string _company;
        private string _address;
        private string _content;
        private string _remark;
        private DateTime _add_time = DateTime.Now;
        private DateTime? _update_time;

        /// <summary>
        /// 自增ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 站点ID
        /// </summary>
        public int site_id
        {
            set { _site_id = value; }
            get { return _site_id; }
        }

        /// <summary>
        /// 标题
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }


        /// <summary>
        /// 邮箱
        /// </summary>
        public string email
        {
            set { _email = value; }
            get { return _email; }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string phone
        {
            set { _phone = value; }
            get { return _phone; }
        }

        /// <summary>
        /// 公司
        /// </summary>
        public string company
        {
            set { _company = value; }
            get { return _company; }
        }

        /// <summary>
        /// 地址
        /// </summary>
        public string address
        {
            set { _address = value; }
            get { return _address; }
        }

        /// <summary>
        /// 内容
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string remark
        {
            set { _remark = value; }
            get { return _remark; }
        }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? update_time
        {
            set { _update_time = value; }
            get { return _update_time; }
        }




        #endregion
    }
}